package com.zzjson.crud.daosupport;

import com.zzjson.crud.bean.Employee;
import com.zzjson.crud.dao.EmployeeMapper;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2019 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : com.zzjson.crud.daosupport</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2019年07月09日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
@Repository
public class EmployeeDaoImpl extends BaseDao implements EmployeeMapper {
	/**
	 * 暂时只实现了这一个方法
	 * @param empId
	 * @return
	 */
	@Override
	public Employee selectByPrimaryKey(Integer empId) {
		Employee emp = (Employee) this.selectOne("com.zzjson.crud.dao.EmployeeMapper.selectByPrimaryKey",empId);
		return emp;
	}

	@Override
	public int deleteByPrimaryKey(Integer empId) {
		return 0;
	}

	@Override
	public int insert(Employee record) {
		return 0;
	}

	@Override
	public int updateBatch(List<Employee> list) {
		return 0;
	}

	@Override
	public int insertSelective(Employee record) {
		return 0;
	}

	@Override
	public int batchInsert(List<Employee> list) {
		return 0;
	}

	@Override
	public int updateByPrimaryKeySelective(Employee record) {
		return 0;
	}

	@Override
	public int updateByPrimaryKey(Employee record) {
		return 0;
	}

	@Override
	public void deleteByList(List<Integer> ids) {

	}

	@Override
	public long countByMap(HashMap<String, String> map) {
		return 0;
	}

	@Override
	public List<Employee> selectByMap(HashMap<String, Object> map) {
		return null;
	}
}